package net.expectx.micro.shop.rpc.service.impl;

import net.expectx.common.single.base.BaseServiceImpl;
import net.expectx.micro.shop.dao.mapper.ProductProductMapper;
import net.expectx.micro.shop.dao.bean.ProductProduct;
import net.expectx.micro.shop.rpc.api.ProductProductService;
import net.expectx.micro.shop.dao.bean.ProductProductExample;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * ProductProductService实现
 * @author lijian
 * @date 2019/8/22
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class ProductProductServiceImpl extends BaseServiceImpl<ProductProduct, ProductProductExample> implements ProductProductService {

    private static final Logger LOGGER = Logger.getLogger(ProductProductServiceImpl.class);

    @Autowired
    ProductProductMapper productProductMapper;

    @Override
    public List<ProductProduct> selectByExampleWithBLOBs(ProductProductExample var1) {
        return productProductMapper.selectByExampleWithBLOBs(var1);
    }
}
